#include<iostream>
using namespace std;
//int w[8]={55,10,45,10,40,20,30,22};
//int p[8]={60,10,55,20,50,3,40,32};

//int w=110;
int x[8];//solustion vector

void Init(){
	for(int i=0;i<8;i++){
		x[i]=0;
	}
}
void Dee2bin(int n){
	int i = 0;
	do{
		x[i++]=n%2;
		n/=2;	
	}while(n!=0);
}

void Display(){
	for(int i=0;i<8;i++){
		cout<<x[i];
	}
}

int main(){
	int n = 256;
	Init();
	Dee2bin(n);
	Display();
	return 0;
}
 	

 
